//
//  SearchArticleModel.m
//  Time
//
//  Created by dllo on 16/7/30.
//  Copyright © 2016年 司昌宝. All rights reserved.
//

#import "SearchArticleModel.h"

@implementation SearchArticleModel

-(void)dealloc{
    [_contentId release];
    [_title release];
    [_text release];
    [_scbUserinfo release];
    [super dealloc];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.contentId = value;
    }
    if ([key isEqualToString:@"userinfo"]) {
        self.scbUserinfo = [[SCBUserinfo alloc] init];
        [self.scbUserinfo setValuesForKeysWithDictionary:value];
        [_scbUserinfo release];
    }
}


@end
